import React from 'react';
import Item, { IFormItemProps } from './Item'

export default class MyFormText extends React.Component<IFormItemProps> {
	render() {
		let { children, ...rest } = this.props;
		return (
			<Item {...rest}
				render={() => (
					<div>{children}</div>
				)} />
		)
	}
}